@extends('common.en_base-master')

@section('html-head')
{{--    <link href="{{url('css/admin/pagenum.css')}}" rel="stylesheet" />--}}
@endsection

@section('html-body')
    <div class="neibanner" style="@if(!empty($classifyName))background:url({{$classifyName->img_url}}) @endif no-repeat 50%; background-size: cover;"></div>
    <div class="probox">
        <div class="proxiala">
            <div class="proxiala_chakan">
                see more
            </div>
            <div class="proxiala_menu">
                @if(count($aboutList) > 0)
                    @foreach($aboutList as $about)
                        @if ($about->id == $id)
                            <a class="on" href="{{route('Admin.Home.enAboutDetail')}}?id={{$about->id}}">{{$about->title}}</a>
                        @else
                            <a href="{{route('Admin.Home.enAboutDetail')}}?id={{$about->id}}">{{$about->title}}</a>
                        @endif
                    @endforeach
                @endif
                <div class="clear"></div>
            </div>
        </div>
        <div class="probox_left">
            <div class="protitle" style="background-color: #43a906;">
                <div>
                    <div class="protitle1" style="text-align: center; ">
                        @if(!empty($classifyName))
                            {{$classifyName->name}}
                        @else
                            about us
                        @endif
                    </div>
                </div>
            </div>
            <div class="proleft_xiala">
                @if(count($aboutList) > 0)
                    @foreach($aboutList as $about)
                        @if ($about->id == $id)
                            <a class="on" href="{{route('Admin.Home.enAboutDetail')}}?id={{$about->id}}">{{$about->title}}</a>
                        @else
                            <a href="{{route('Admin.Home.enAboutDetail')}}?id={{$about->id}}">{{$about->title}}</a>
                        @endif
                    @endforeach
                @endif
                <div class="clear"></div>
            </div>
        </div>
        <div class="probox_right">
            <div class="proboxline">
                @if(!empty($detail))
                    <?php  echo html_entity_decode($detail->content) ?>
                @endif
            </div>
        </div>
        <div class="clear"></div>
    </div>
@endsection

